package com.qd.panda.etc;

import com.fasterxml.jackson.databind.JsonNode;
import com.qd.panda.service.third.etc.EtcApiService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * APP_网发平台接口
 *
 * @author sjk
 * @create 2023-11-02 10:15
 * @since 1.0.0
 */
@RequiredArgsConstructor
@Validated
@RestController
@RequestMapping("/app/etc/")
@Slf4j
public class AppEtcController {
    private final EtcApiService etcApiService;

    /**
     * 小程序跳转初始化
     */
    @GetMapping(value = "/wechat/navigateInit")
    public JsonNode navigateInit() {
        return etcApiService.navigateInit();
    }
}